package com.example.myspringframework.context.annotation;

import com.example.myspringframework.beans.factory.config.BeanDefinition;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Scope {
    String value() default BeanDefinition.SCOPE_SINGLETON;
}
